home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
NEW_TECH
/
TUSRC.ZIP
/
WC.MAK
< prev
Wrap
Makefile
|
1993-10-02
|
4KB
|
166 lines
# Microsoft Visual C++ generated build script - Do not modify
PROJ = WC
DEBUG = 0
PROGTYPE = 2
CALLER =
ARGS =
DLLS =
ORIGIN = MSVCNT
ORIGIN_VER = 1.00
PROJPATH = C:\DATA\DEVELOPMENT\MYSTUFF\MYTEXTUTILS-1.6\
USEMFC = 0
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG =
CPPCREATEPCHFLAG =
CUSEPCHFLAG =
CPPUSEPCHFLAG =
FIRSTC = CAT.C
FIRSTCPP =
RC = rc
CFLAGS_D_DEXE32 = /nologo /W3 /Zi /YX /D "_DEBUG" /D "HAVE_STRING_H" /D "HAVE_ALLOCA_H" /D "HAVE_STRING_H" /D "_X86_" /D "_CONSOLE" /D "STDC_HEADERS" /D "HAVE_MEMORY_H" /D "HAVE_VPRINTF" /D "HAVE_FCNTL_H" /D "HAVE_ALLOCA_H" /FR /ML /Fd"CAT.PDB" /Fp"CAT.PCH"
CFLAGS_R_DEXE32 = /nologo /W3 /YX /O2 /D "NDEBUG" /D "HAVE_STRING_H" /D "_X86_" /D "_CONSOLE" /D "STDC_HEADERS" /D "HAVE_MEMORY_H" /D "HAVE_VPRINTF" /D "HAVE_FCNTL_H" /D "HAVE_ALLOCA_H" /FR /ML /Fp"CAT.PCH"
LFLAGS_D_DEXE32 = /NOLOGO /DEBUG /DEBUGTYPE:cv /SUBSYSTEM:console netapi32.lib setargv.obj
LFLAGS_R_DEXE32 = /NOLOGO /SUBSYSTEM:console netapi32.lib setargv.obj
LFLAGS_D_LIB32 = /NOLOGO
LFLAGS_R_LIB32 = /NOLOGO
LIBS_D_DEXE32 =
LIBS_R_DEXE32 =
RCFLAGS32 =
D_RCDEFINES32 = -d_DEBUG
R_RCDEFINES32 = -dNDEBUG
OBJS_EXT =
LIBS_EXT =
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_DEXE32)
LFLAGS = $(LFLAGS_D_DEXE32)
LIBS = $(LIBS_D_DEXE32)
LFLAGS_LIB=$(LFLAGS_D_LIB32)
MAPFILE_OPTION =
RCDEFINES = $(D_RCDEFINES32)
!else
CFLAGS = $(CFLAGS_R_DEXE32)
LFLAGS = $(LFLAGS_R_DEXE32)
LIBS = $(LIBS_R_DEXE32)
MAPFILE_OPTION =
LFLAGS_LIB=$(LFLAGS_R_LIB32)
RCDEFINES = $(R_RCDEFINES32)
!endif
SBRS = VERSION.SBR \
GETOPT.SBR \
GETOPT1.SBR \
STPCPY.SBR \
XMALLOC.SBR \
BCOPY.SBR \
ERROR.SBR \
LINEBUFFER.SBR \
XWRITE.SBR \
REGEX.SBR \
WC.SBR
VERSION_DEP = \
c:\data\development\mystuff\mytextutils-1.6\src\version.h
GETOPT_DEP = \
c:\data\development\mystuff\mytextutils-1.6\lib\getopt.h
GETOPT1_DEP = \
c:\data\development\mystuff\mytextutils-1.6\lib\getopt.h
STPCPY_DEP =
XMALLOC_DEP =
BCOPY_DEP =
ERROR_DEP =
LINEBUFFER_DEP = \
c:\data\development\mystuff\mytextutils-1.6\lib\linebuffer.h
REGEX_DEP = \
c:\data\development\mystuff\mytextutils-1.6\lib\regex.h
WC_DEP = \
c:\data\development\mystuff\mytextutils-1.6\src\system.h
WC_DEP = \
c:\data\development\mystuff\mytextutils-1.6\src\version.h
all: $(PROJ).EXE $(PROJ).BSC
VERSION.OBJ: SRC\VERSION.C $(VERSION_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c SRC\VERSION.C
GETOPT.OBJ: LIB\GETOPT.C $(GETOPT_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\GETOPT.C
GETOPT1.OBJ: LIB\GETOPT1.C $(GETOPT1_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\GETOPT1.C
STPCPY.OBJ: LIB\STPCPY.C $(STPCPY_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\STPCPY.C
XMALLOC.OBJ: LIB\XMALLOC.C $(XMALLOC_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\XMALLOC.C
BCOPY.OBJ: LIB\BCOPY.C $(BCOPY_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\BCOPY.C
ERROR.OBJ: LIB\ERROR.C $(ERROR_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\ERROR.C
LINEBUFFER.OBJ: LIB\LINEBUFFER.C $(LINEBUFFER_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\LINEBUFFER.C
XWRITE.OBJ: LIB\XWRITE.C $(XWRITE_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\XWRITE.C
REGEX.OBJ: LIB\REGEX.C $(REGEX_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c LIB\REGEX.C
WC.OBJ: SRC\WC.C $(WC_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c SRC\WC.C
$(PROJ).EXE: VERSION.OBJ GETOPT.OBJ GETOPT1.OBJ STPCPY.OBJ XMALLOC.OBJ BCOPY.OBJ \
ERROR.OBJ LINEBUFFER.OBJ XWRITE.OBJ REGEX.OBJ WC.OBJ $(OBJS_EXT) $(LIBS_EXT)
echo >NUL @<<$(PROJ).CRF
VERSION.OBJ
GETOPT.OBJ
GETOPT1.OBJ
STPCPY.OBJ
XMALLOC.OBJ
BCOPY.OBJ
ERROR.OBJ
LINEBUFFER.OBJ
XWRITE.OBJ
REGEX.OBJ
WC.OBJ
$(OBJS_EXT)
-OUT:$(PROJ).EXE
$(MAPFILE_OPTION)
$(LIBS)
$(LIBS_EXT)
$(DEFFILE_OPTION) -implib:$(PROJ).lib
<<
link $(LFLAGS) @$(PROJ).CRF
run: $(PROJ).EXE
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<